package com.example.demo.BuilderPattern;

import java.util.ArrayList;

/**
 * 宝马车组装者
 */
public class BMWBuilder extends CarBuilder{
    private BMWModel model = new BMWModel();

    @Override
    public void setSequence(ArrayList<String> sequence) {
        this.model.setSequence(sequence);
    }

    @Override
    public CarModel getCarModel() {
        return model;
    }
}
